home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Gold 2
/
Shareware Gold II - Volume 2 Number 1 - Wayzata Technology (7071) (1991).iso
/
database
/
pds_base
/
utilprog.exe
/
lha
/
ADVANCED.DOC
< prev
next >
Wrap
Text File
|
1990-03-10
|
5KB
|
119 lines
This file lists the various flags used in the PDS*BASE .SRC files.
| FLAGS
The | is used with a 2 digit number to indicate a substitution of a value
while the BASIC program is being generated. A | is placed at the start of
the line to let the program generator portion of the PDS*BASE.EXE
program know hat substitution(s) are required on that line of .SRC code.
01 = Program Name
02 = Quantity of files
03 = Quantity of files + 1
04 = Max Number of Detail Files for any master
05 = Max number of disk drives for the largest master
06 = Number of sort key files
07 = Max number of fields in any file
08 = Number of Buffers or DOS file handles used
09 = Number of Detail files + 1
10 = Maximum length of largest file
11 = Definition file name W/O .DEF extender
12 = Maximum Number of Records In Largest Master file
13 = Maximum Number of Records / 5 For Sort DIM
14 = Report Title
15 = Sort File Name
16 = Sort File Number
17 = Sort File Field
18 = Number of Report Fields
19 = Compressed Print On String
20 = Compressed Print Off String
21 = Lines Per Printed Page
22 = Sort Formula String
23 = Number of Lines Used By Report Title And Dashes
24 = Number of Dashes Under Report Title
25 = M or C for Monichrome or Color Monitor
26 = Near Letter Quality On String
27 = Near Letter Quality Off String
28 = Blink.normal%
29 = Blink.insert%
30 = Blink2%
31 = Available Printer Columns
32 = Number of files in the new definition
33 = Label Stock Number
34 = Number of Label Rows
35 = Total number of Label Fields
36 = Password for DB Blanking Program
* FLAGS
The * is used with a 2 digit number to indicate if a line of code in the
.SRC file should be used while the BASIC program is being generated.
A1%=1 if Field Names are required in the program (Manage, Sort, Utility)
A2%=1 if Field Names are required in the program (Manage, Sort, Utility)
A3%=1 if Report Program being generated
A4%=1 if Drive letters are desired on the file names
01 Line 70 ends with ; IF Number of Details OR Number of Sort Key files > 0
ELSE no ;
02 Use IF Numer of Detail Files > 0 and end with ; IF Num Sort Key Files > 0
ELSE no ;
03 Use if Number of Sort Key Files > 0 with no ; at end
04 set LineNum% = 129 and print the data statements
05 use this line if A2%=1
06 use this line if A2%=0
07 use this line if A2%=1
08 use this line if A2%=0
09 LineNum% = 255 and print the data statements
10 use this line if the number of disk drives is > 1
11 use this line if the number of disk drives is = 1
12 use this line if drive letters are to be used
13 use this line if drive letters are not to be used
14 use this line if Number of Detail Files > 0
15 use this line if Disk Drives = 1 AND Number of Detail Files > 0
16 use this line if Disk Drives = 1 AND Number of Detail Files > 0
17 IF A1% = 0 THEN skip until line = 370
18 IF Number of Detail Files = 0 then skip until line = 370
19 use this line IF the Utility program
20 use this line if NOT the Utility program
21 use only for the Report program
22 IF Disk Drives = 1 skip to line 630
23 use if Number of Detail Files > 0
24 use if A1%=0
25 end here if A1%=0
26 always use this line but end with ; if Number of Detail Files > 0
27 append to previous line Number of Detail Files > 0
28 use if Number of Detail Files = 0
29 if Number of Detail Files = 0 skip to line 1200
30 If Number of Detail Files = 0 skip to line 1500
31 end of file
32 IF number of files = 1
33 IF number of files > 1
34 List menu for DBMANAGE program
35 Generates (Insert disk - Strike any key) if file letter desired
36 Used in Util01 if Quentity of files > 1 for menu
37 Used in Util01 if Quantity of files = 1 for menu
39 Wish internal sort with drive letter on file name
40 Wish internal sort without drive etter on file name
41 Wish External sort
42 Wish Internal sort
43 Want Date at top of report page
44 GOSUB Report Field Format DATA statement
45 Set up report line for WIDTH LPT1 = 240
46 Set up Report line for compressed print
47 IF Detail File Field is used in the Report
48 IF Detail File Field is NOT used in a Report
49 IF Lines Per Page > 0 then generate Report column headings
50 For Report, generate Report field LPRINT statements
51 Generates DIM and READ statements in DBMANAGE program for
Screen input positions
52 Generates RUN"MENU program end line
53 Generates SYSTEM program end line
54 Generates END program end line
55 IF Lines Per Page > 0 generate Form Feed line at end of report printing
56 IF DB Blanking Progran - End DBOPSUB here
57 Generate Clone In DATA Statements
58 Generate Skip Label Line
59 Used by Clone-In program only